var express = require('express');
var goods = require('../ctrls/goods');
var router = express.Router();

router.post('/catebyid', goods.catebyid);

router.post('/goodslist', goods.goodslist);

router.post('/goodsByid', goods.goodsByid);
router.post('/all', goods.all);
router.post('/lunbo', goods.lunbo);
router.post('/xiaomi', goods.xiaomi);
router.post('/redmi', goods.redmi);
router.post('/book', goods.book);
router.post('/pad', goods.pad);
router.post('/dianshi', goods.dianshi);
router.post('/jiadian', goods.jiadian);
router.post('/luyou', goods.luyou);
router.post('/goodsinfo', goods.goodsinfo);
router.post('/updateGoods', goods.updateGoods);
router.post('/updatelunbo', goods.updatelunbo);
router.post('/addGoods', goods.addGoods);
router.post('/addlunbo', goods.addlunbo);
router.post('/delGoods', goods.delGoods);
router.post('/delLunbo', goods.delLunbo);

module.exports = router;